package com.yxxmg.mybatisplussample.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : yxxmg
 * @version : 1.0
 * @description :
 * @since : 2024/11/29
 */
@Data
@TableName("T_TEACHER")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Teacher implements Serializable {
    private static final long serialVersionUID = -1191418921432905931L;
    @TableId
    private String pkTeacher;
    @TableField
    private String teacherName;
    @TableField
    private Integer age;
    @TableField
    private String course;
}
